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.