Freigeben über


SMB Management API

Purpose

The SMB Management API provides WMI classes and methods to manage shares and share access.

In this section

MSFT_SmbBandwidthLimit

Represents an SMB bandwidth limit, which is used to throttle SMB traffic.

MSFT_SmbClientConfiguration

Represents the configuration settings for an SMB client.

MSFT_SmbClientNetworkInterface

Represents a network interface used by SMB client.

MSFT_SmbConnection

Represents a connection established from an SMB client to an SMB server from the client's perspective.

MSFT_SmbMapping

Represents an SMB mapping.

MSFT_SmbMultichannelConnection

Represents an SMB connection network interface.

MSFT_SmbMultichannelConstraint

Represents a network interface that SMB can use to connect to a server.

MSFT_SmbOpenFile

Represents a file that is opened on an SMB server from the server's perspective.

MSFT_SmbServerConfiguration

Represents the configuration of an SMB server.

MSFT_SmbServerNetworkInterface

Represents an SMB server network interface.

MSFT_SmbSession

Represents a session on an SMB server from the server's perspective.

MSFT_SmbShare

Represents an SMB share.

MSFT_SmbShareAccessControlEntry

Represents the access permissions that have been granted to a share's users.

MSFT_SmbShareChangeEvent

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

MSFT_SmbWitnessClient

Represents an SMB witness client.

Developer audience

SMB Management API is designed for use by WMI developers who use C/C++, the Microsoft Visual Basic application, or a scripting language that has an engine on Windows and handles Microsoft ActiveX objects. Familiarity with COM programming is helpful but not required. For more information about WMI, see Windows Management Instrumentation.

Run-time requirements

The SMB Management API is supported on Windows-based operating systems beginning with Windows 8 and Windows Server 2012.

Network Share Management