Documentation ¶
Index ¶
- Constants
- Variables
- type DfsrHelperErrorsEnum
- type DfsrReportingFlags
- type IServerHealthReport
- func (v *IServerHealthReport) GetReferenceBacklogCounts(vectors *ole.SafeArrayConversion) (backlog *ole.SafeArrayConversion, err error)
- func (v *IServerHealthReport) GetReferenceVersionVectors(group uuid.UUID) (vectors *ole.SafeArrayConversion, err error)
- func (v *IServerHealthReport) GetReport(group uuid.UUID, server string, referenceVectors ole.SafeArrayConversion, ...) (memberVectors ole.SafeArrayConversion, report string, err error)
- func (v *IServerHealthReport) VTable() *IServerHealthReportVtbl
- type IServerHealthReport2
- type IServerHealthReport2Vtbl
- type IServerHealthReportVtbl
Constants ¶
const ( E_INVALID_NAMESPACE = 2147749902 E_ACCESS_DENIED = 2147749891 )
Variables ¶
var ( ErrInvalidNamespace = errors.New("the provided name or namespace is invalid") ErrAccessDenied = errors.New("access denied") )
var ( // CLSID_DFSRHelper is the component object model identifier of the DfsrHelper // class. // // CLSID_DFSRHelper // {3B35075C-01ED-45BC-9999-DC2BBDEAC171} CLSID_DFSRHelper = uuid.UUID{0x3B, 0x35, 0x07, 0x5C, 0x01, 0xED, 0x45, 0xBC, 0x99, 0x99, 0xDC, 0x2B, 0xBD, 0xEA, 0xC1, 0x71} // IID_IServerHealthReport is the component object model identifier of the // IServerHealthReport interface. // // IID_IServerHealthReport // {E65E8028-83E8-491B-9AF7-AAF6BD51A0CE} IID_IServerHealthReport = uuid.UUID{0xE6, 0x5E, 0x80, 0x28, 0x83, 0xE8, 0x49, 0x1B, 0x9A, 0xF7, 0xAA, 0xF6, 0xBD, 0x51, 0xA0, 0xCE} // IID_IServerHealthReport2 is the component object model identifier of the // IServerHealthReport2 interface. // // IID_IServerHealthReport2 // {20D15747-6C48-4254-A358-65039FD8C63C} IID_IServerHealthReport2 = uuid.UUID{0x20, 0xD1, 0x57, 0x47, 0x6C, 0x48, 0x42, 0x54, 0xA3, 0x58, 0x65, 0x03, 0x9F, 0xD8, 0xC6, 0x3C} )
Functions ¶
This section is empty.
Types ¶
type DfsrHelperErrorsEnum ¶
type DfsrHelperErrorsEnum int
type DfsrReportingFlags ¶
type DfsrReportingFlags int
const ( REPORTING_FLAGS_NONE DfsrReportingFlags = iota REPORTING_FLAGS_BACKLOG REPORTING_FLAGS_FILES )
type IServerHealthReport ¶
type IServerHealthReport struct {
ole.IUnknown
}
IServerHealthReport represents the component object model interface for server health reports (version 1).
func NewIServerHealthReport ¶
func NewIServerHealthReport(server string, clsid uuid.UUID) (*IServerHealthReport, error)
NewIServerHealthReport returns a new instance of the IServerHealthReport component object model interface.
In a typical use case, the provided clsid should CLSID_DFSRHelper.
func NewIServerHealthReport2 ¶
func NewIServerHealthReport2(server string, clsid uuid.UUID) (*IServerHealthReport, error)
NewIServerHealthReport2 returns a new instance of the IServerHealthReport2 component object model interface.
In a typical use case, the provided clsid should be CLSID_DFSRHelper
func (*IServerHealthReport) GetReferenceBacklogCounts ¶
func (v *IServerHealthReport) GetReferenceBacklogCounts(vectors *ole.SafeArrayConversion) (backlog *ole.SafeArrayConversion, err error)
GetReferenceBacklogCounts retrieves the number of items in the collection.
[MS-DFSRH]: 3.1.5.4.5
func (*IServerHealthReport) GetReferenceVersionVectors ¶
func (v *IServerHealthReport) GetReferenceVersionVectors(group uuid.UUID) (vectors *ole.SafeArrayConversion, err error)
GetReferenceVersionVectors retrieves the version vectors for the given replication group. Version vectors for each replication folder in the group are returned.
[MS-DFSRH]: 3.1.5.4.5
func (*IServerHealthReport) GetReport ¶
func (v *IServerHealthReport) GetReport(group uuid.UUID, server string, referenceVectors ole.SafeArrayConversion, flags int32) (memberVectors ole.SafeArrayConversion, report string, err error)
GetReport retrieves a report for the given replication group.
[MS-DFSRH]: 3.1.5.4.5
func (*IServerHealthReport) VTable ¶
func (v *IServerHealthReport) VTable() *IServerHealthReportVtbl
VTable returns the IServerHealthReportVtbl for the IServerHealthReport.
type IServerHealthReport2 ¶
type IServerHealthReport2 struct {
IServerHealthReport
}
IServerHealthReport2 represents the component object model interface for server health reports (version 2).
func (*IServerHealthReport2) VTable ¶
func (v *IServerHealthReport2) VTable() *IServerHealthReport2Vtbl
VTable returns the IServerHealthReport2Vtbl for the IServerHealthReport2.
type IServerHealthReport2Vtbl ¶
type IServerHealthReport2Vtbl struct { IServerHealthReport GetReport uintptr GetCompressedReport uintptr }
IServerHealthReport2Vtbl represents the component object model virtual function table for the IServerHealthReport2 interface.
type IServerHealthReportVtbl ¶
type IServerHealthReportVtbl struct { ole.IUnknownVtbl GetReport uintptr GetCompressedReport uintptr GetRawReportEx uintptr GetReferenceVersionVectors uintptr GetReferenceBacklogCounts uintptr // contains filtered or unexported fields }
IServerHealthReportVtbl represents the component object model virtual function table for the IServerHealthReport interface.