// Pool returns pool dataset belongs to
Pool returns pool dataset belongs to
// Pool returns pool dataset belongs to
func (d *Dataset) Pool() (p Pool, err error) {
	if d.list == nil {
		err = errors.New(msgDatasetIsNil)
		return
	}
	p.list = C.dataset_get_pool(d.list)
	if p.list != nil && p.list.zph != nil {
		err = p.ReloadProperties()
		return
	}
	err = LastError()
	return
}
func ( d * Dataset ) Pool ( ) ( p Pool , err error ) { if d . list == nil { err = errors . New ( msgDatasetIsNil ) return } p . list = C . dataset_get_pool ( d . list ) if p . list != nil && p . list . zph != nil { err = p . ReloadProperties ( ) return } err = LastError ( ) return }
Pool returns pool dataset belongs to
Pool returns pool dataset belongs to