Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Show:
© 2014 Microsoft