共用方式為


FunctionNotASmoObjectException.TargetType 屬性

Gets the type of object that is associated with the exception.

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

語法

'宣告
Public ReadOnly Property TargetType As String 
    Get
'用途
Dim instance As FunctionNotASmoObjectException 
Dim value As String 

value = instance.TargetType
public string TargetType { get; }
public:
property String^ TargetType {
    String^ get ();
}
member TargetType : string
function get TargetType () : String

屬性值

型別:System.String
A String value that specifies the type of object that is associated with the exception.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

處理 SMO 例外狀況

請參閱

參考

FunctionNotASmoObjectException 類別

Microsoft.SqlServer.Management.Dmf 命名空間