次の方法で共有


CreateConstraint method of the MSFT_SmbMultichannelConstraint class

Creates a new Server Message Block (SMB) multichannel constraint for the specified server.

Syntax

uint32 CreateConstraint(
  [in]  string                         ServerName,
  [in]  uint32                         InterfaceIndex[],
  [in]  string                         InterfaceAlias[],
  [out] MSFT_SmbMultichannelConstraint Output[]
);

Parameters

ServerName [in]

Name of the server where the created MSFT_SmbMultichannelConstraint instance is used.

InterfaceIndex [in]

The interface indexes of the network interfaces that are used to connect to the server.

InterfaceAlias [in]

The interface aliases of the network interfaces that are used to connect to the server.

Output [out]

Embedded instances of the MSFT_SmbMultichannelConstraint class for the specified network interfaces.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Smb
MOF
Smbwmiv2.mof
DLL
SmbWmiV2.dll

See also

MSFT_SmbMultichannelConstraint