Implicit 轉換 (Urn to String)
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 ( _
urn As Urn _
) As String
'用途
Dim input As Urn
Dim output As String
output = CType(input, String)
public static implicit operator string (
Urn urn
)
static implicit operator String^ (
Urn^ urn
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。
參數
- urn
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
An Urn object.
傳回值
型別:System. . :: . .String
A string that contains the converted Urn.