Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MSFT_SmbShareChangeEvent class

This is an indication class. Any subscriber to it will receive an indication whenever a share is created, deleted, or modified.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

class MSFT_SmbShareChangeEvent
{
  uint32        EventType;
  MSFT_SmbShare Share;
};

Members

The MSFT_SmbShareChangeEvent class has these types of members:

Properties

The MSFT_SmbShareChangeEvent class has these properties.

EventType
Data type: uint32
Access type: Read-only

The event type.

Add (0)
Modify (1)
Remove (2)
Share
Data type: MSFT_SmbShare
Access type: Read-only

An instance of the MSFT_SmbShare class that represents the share.

Remarks

Note  Subscribers must be administrators.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

\ROOT\Microsoft\Windows\Smb

MOF

SmbWmiV2.mof

DLL

SmbWmiV2.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.