次の方法で共有


CreateUrl method of the BitsCompactServerUrlGroup class

The CreateUrl method creates a URL on the host. This method also creates a URL group on the host if the URL group was not available earlier.

Syntax

uint32 CreateUrl(
  [in]           string UrlSuffix,
  [in]           string SourceFilePath,
  [in]           string SDDLAuth,
  [in, optional] uint8  CertificateHashAccessCheck[]
);

Parameters

UrlSuffix [in]

Specifies the URL suffix for the BITS transfer job.

SourceFilePath [in]

Specifies the path of the source file to be hosted on the server.

SDDLAuth [in]

Specifies the security descriptor string that is used to authenticate client requests for the specified BITS transfer job.

CertificateHashAccessCheck [in, optional]

Reserved for future use.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2
Redistributable
Windows Management Framework on Windows Server 2008 with SP2
Namespace
Root\microsoft\bits
MOF
BitsProvider.mof

See also

BitsCompactServerUrlGroup