共用方式為


Implicit 轉換 (String to Urn)

Converts to Urn. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Shared Widening Operator CType ( _
    str As String _
) As Urn
'用途
Dim input As String
Dim output As Urn

output = CType(input, Urn)
public static implicit operator Urn (
    string str
)
static implicit operator Urn^ (
    String^ str
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。

參數

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
A string value that contains the converted Urn.