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 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Namespace |
\ROOT\Microsoft\Windows\Smb |
|
MOF |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 11/5/2012