Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Attempts to generate a script from the object’s AST.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public Function TryGetScript ( _
<OutAttribute> ByRef objectScript As String _
) As Boolean
'Usage
Dim instance As TSqlObject
Dim objectScript As String
Dim returnValue As Boolean
returnValue = instance.TryGetScript(objectScript)
public bool TryGetScript(
out string objectScript
)
public:
bool TryGetScript(
[OutAttribute] String^% objectScript
)
member TryGetScript :
objectScript:string byref -> bool
public function TryGetScript(
objectScript : String
) : boolean
Parameters
- objectScript
Type: System.String%
The create script generated for the object.
Return Value
Type: System.Boolean
true if DDL creation script created; otherwise, false.