共用方式為


SetPropertyValue 方法

Sets the property value.

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

語法

'宣告
Sub SetPropertyValue ( _
    propertyName As String, _
    propertyType As Type, _
    value As Object _
)
'用途
Dim instance As IAlienObject
Dim propertyName As String
Dim propertyType As Type
Dim value As Object

instance.SetPropertyValue(propertyName, _
    propertyType, value)
void SetPropertyValue(
    string propertyName,
    Type propertyType,
    Object value
)
void SetPropertyValue(
    String^ propertyName, 
    Type^ propertyType, 
    Object^ value
)
abstract SetPropertyValue : 
        propertyName:string * 
        propertyType:Type * 
        value:Object -> unit 
function SetPropertyValue(
    propertyName : String, 
    propertyType : Type, 
    value : Object
)

參數