Breyta

Deila með


Cloud.GetCloudByName(String) Method

Definition

Returns the Cloud object with the specified cloud name.

public:
 static System::Net::PeerToPeer::Cloud ^ GetCloudByName(System::String ^ cloudName);
public static System.Net.PeerToPeer.Cloud GetCloudByName (string cloudName);
static member GetCloudByName : string -> System.Net.PeerToPeer.Cloud
Public Shared Function GetCloudByName (cloudName As String) As Cloud

Parameters

cloudName
String

Contains the name of the PNRP Cloud.

Returns

The Cloud object with the specified cloud name.

Exceptions

The Cloud name is not known.

Remarks

The maximum size of the name is 256 characters.

If the cloudName parameter is null or empty, then null is returned.

The scope of the cloud, Global, link-local, or otherwise, is specified in Scope.

Applies to

See also